{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>消息详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">消息标题：</label>
                            <div class="layui-input-block">
                                <input type="text"  class="layui-input" value="{$info.n_title}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">内容：</label>
                            <div class="layui-input-block">
                                <textarea  disabled class="layui-input " style="height:100px">{$info.n_content}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">推送时间：</label>
                            <div class="layui-input-block">
                                <input type="text"  class="layui-input" value="{$info.n_send_datetime}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">推送人群：</label>
                            <div class="layui-input-block">
                                <input type="text"  class="layui-input" value="{$range[$info.n_range]}" disabled>
                            </div>
                        </div>
                        {if $info['n_range'] == 4}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8" style="width: 100%;">
                            <label class="layui-form-label">推送列表：</label>
                            <div class="layui-input-block">
                                {volist name='user' id='u'}
                                <div style="height: 90px;width: 200px;border: 1px solid #ccc;border-radius: 5px;padding: 5px;line-height: 25px;margin-right:10px;margin-bottom:10px;float: left;overflow: hidden;">
                                    <p>ID：{$u.user_id}</p>
                                    <p>名字：{$u.user_username}</p>
                                    <p>手机号：{$u.user_phone}</p>
                                </div>
                                {/volist}
                            </div>
                        </div>
                        {/if}

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                                <button class="layui-btn layui-btn-primary" onclick="history.go(-1)">返回</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
<script>
</script>

</body>
</html>
